//
//  YHJSWebViewRouter.m
//  YHHospitalAssitan
//
//  Created by zxl on 2017/9/15.
//  Copyright © 2017年 YH. All rights reserved.
//

#import "YHJSWebViewRouter.h"

@implementation YHJSWebViewRouter

-(id)initWithData:(id)data
{
    self = [super init];
    
    if (self) {
        self.data = data;
        
        [self parseData];
    }
    return self;
}

-(void)parseData
{
    if (![self.data isKindOfClass:[NSDictionary class]]) {
        return;
    }
    
    NSString *method = [self.data objectForKey:@"method"];
    
    if ([method isEqualToString:@"calendar"]) {
        
    }else if ([method isEqualToString:@"loginout"])
    {

    }else if ([method isEqualToString:@"monitorquery"])
    {
        
    }
}

@end
